package org.tao.lightningmq.broker.model;

import io.netty.channel.ChannelHandlerContext;
import org.tao.lightningmq.common.dto.MessageDTO;

/**
 * @Author lht
 * @date 2025/1/23 - 20:24
 * @description:
 */
public class TxMessageAckModel {

    private MessageDTO messageDTO;

    private ChannelHandlerContext channelHandlerContext;

    private long firstSendTime;

    public MessageDTO getMessageDTO() {
        return messageDTO;
    }

    public void setMessageDTO(MessageDTO messageDTO) {
        this.messageDTO = messageDTO;
    }

    public ChannelHandlerContext getChannelHandlerContext() {
        return channelHandlerContext;
    }

    public void setChannelHandlerContext(ChannelHandlerContext channelHandlerContext) {
        this.channelHandlerContext = channelHandlerContext;
    }

    public long getFirstSendTime() {
        return firstSendTime;
    }

    public void setFirstSendTime(long firstSendTime) {
        this.firstSendTime = firstSendTime;
    }
}
